#include <iostream>

class Person
{
public:
    Person() : Person("hello", 18) { std::cout << "Person()" << std::endl; }
    Person(std::string name, int age) : name(name), age(age) { std::cout << "Person(" << name << ", " << age << ")" << std::endl; }
    virtual ~Person(){}
private:
    std::string name;
    int age;
};

class Student : public Person
{
public:
    using Person::Person; // 继承构造
    Student() {}
    ~Student() {}
};

int main()
{
    Student stu("lanqiao", 100);
    return 0;
}